home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 12
/
Cream of the Crop 12 (Part II)
/
Cream of the Crop 12 (Part II).iso
/
BBS
/
EZY120_1.ZIP
/
STRUCT.ARJ
/
CLIB.ARJ
/
FNDPARAM.CPP
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1996-03-09
|
307 b
|
17 lines
#include <string.h>
#include <dos.h>
int FindParam(char *StrToFind)
{
int SLen = strlen(StrToFind);
int Count = 1;
int Found = 0;
while ((Count < _argc) && (!Found)) {
if (strnicmp(StrToFind,_argv[Count],SLen) == 0) {
Found = 1;
}
Count++;
}
return(Found);
}